package com.example.xbrother.rule;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 物料结果
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class MaterialResult extends MaterialBase {
    /**
     * 物料-名称
     */
    private String name;
    /**
     * 物料-组数
     */
    private Integer groupNum;

    public MaterialResult() {
    }

    public MaterialResult(String code, Integer num) {
        super(code, num);
    }

    public MaterialResult(String code, String name, Integer num) {
        super(code, num);
        this.name = name;
    }
}
